export default {
  name: 'SiderBav',
  props: ['nav'],
  data () {
  	 return {
          activeIndex:'0-0'
  	 }
  },
  computed: {
    navList(){
      return this.nav;
    }
  },
  mounted(){
  },
  methods:{
  	toPage(url,fn){
      if(typeof fn == "function" && fn){
          fn.apply(this,arguments);
          return;
      }
  		 this.$router.push(url)
  	}
  }
}